package org.spring.cloud.util;

import org.spring.cloud.enums.ModuleEnum;

public class CacheUtils {

	private CacheUtils() {}
	
	/**
	 * 缓存key设置
	 * @return
	 */
	public static String cacheKeySet(ModuleEnum moduleEnum,String cacheKey) {
		StringBuilder builder = new StringBuilder();
		return builder.append(moduleEnum.getCode()).append(":").append(cacheKey).toString();
	}
}
